-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: All webkit and Mobile Safari tests are failing with: browserContext.newPage: Protocol error
#20481
Comments
I tried to reproduce, but it works for me without any issues. This issue is caused because a Playwright WebKit version is used with an incompatible Playwright version. (this should never happen). Did you change something about browser downloads, move files in ms-playwright around or so? Can also be caused if you have multiple playwright installations in a project, or have playwright, playwright-core and @playwright/test there, only @playwright/test is enough. |
Could you provide us your Ubuntu version? |
So I never messed with any of the downloads, and definitely only ever had I cleared out the folder and tried installing again, and now it's more what you'd expect: I'm on Ubuntu 18.04.5 LTS which I'm aware isn't supported, but I had no issues with it previously. Having cleared the folder and running the tests, I now unsurprisingly get this error:
Guessing the duplicate webkit caused the issue. The only thing I can think created the mismatched browsers was using The original issue has likely been sorted. Sorry I can't be more help on the cause. Thanks for the help. |
Context:
Code Snippet
This is just one short example. It is affecting all tests.
Describe the bug
The firefox, chromium, chrome, msedge and mobile chrome all work perfectly. But all safari based tests fail with the same message:
This is my first time setting up Playwright so I have no example of it working previously. I've changed very little since
npm init playwright@latest
so I doubt it's my configuration. I've installed all deps for the browsers as well.I've tried for several hours to interpret the debug log using the docs, but I am no closer to figuring it out.
I searched for a while and the only similar mention I could find was #17699. I apologise if this is not a bug, but figured it was worth raising here if it's happened recently on an alternate OS.
The text was updated successfully, but these errors were encountered: